package com.xydtech.ecard.merchant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电子名片个人经营/工作情况信息对象 ecard_person_manage_work
 *
 * @author yuzhiguo
 * @date 2024-09-02 下午2:16
 */
public class EcardPersonManageWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 个人客户类型，1：农户，2：新市民 */
    @Excel(name = "个人客户类型，1：农户，2：新市民")
    private Integer perType;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String manageLicensePic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称")
    private String manageLicenseName;

    /** 经营项目 */
    @Excel(name = "经营项目")
    private String manageBusinessProject;

    /** 地图地址 */
    @Excel(name = "地图地址")
    private String manageMapAddress;

    /** 经营照片 */
    @Excel(name = "经营照片")
    private String manageBusinessPic;

    /** 坐标 */
    @Excel(name = "坐标")
    private String manageCoordinate;

    /** 经营情况 */
    @Excel(name = "经营情况")
    private String manageSituation;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnit;

    /** 个人表关联id */
    @Excel(name = "个人表关联id")
    private Long managePerId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPerType(Integer perType)
    {
        this.perType = perType;
    }

    public Integer getPerType()
    {
        return perType;
    }
    public void setManageLicensePic(String manageLicensePic)
    {
        this.manageLicensePic = manageLicensePic;
    }

    public String getManageLicensePic()
    {
        return manageLicensePic;
    }
    public void setManageLicenseName(String manageLicenseName)
    {
        this.manageLicenseName = manageLicenseName;
    }

    public String getManageLicenseName()
    {
        return manageLicenseName;
    }
    public void setManageBusinessProject(String manageBusinessProject)
    {
        this.manageBusinessProject = manageBusinessProject;
    }

    public String getManageBusinessProject()
    {
        return manageBusinessProject;
    }
    public void setManageMapAddress(String manageMapAddress)
    {
        this.manageMapAddress = manageMapAddress;
    }

    public String getManageMapAddress()
    {
        return manageMapAddress;
    }
    public void setManageBusinessPic(String manageBusinessPic)
    {
        this.manageBusinessPic = manageBusinessPic;
    }

    public String getManageBusinessPic()
    {
        return manageBusinessPic;
    }
    public void setManageCoordinate(String manageCoordinate)
    {
        this.manageCoordinate = manageCoordinate;
    }

    public String getManageCoordinate()
    {
        return manageCoordinate;
    }
    public void setManageSituation(String manageSituation)
    {
        this.manageSituation = manageSituation;
    }

    public String getManageSituation()
    {
        return manageSituation;
    }
    public void setWorkUnit(String workUnit)
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit()
    {
        return workUnit;
    }
    public void setManagePerId(Long managePerId)
    {
        this.managePerId = managePerId;
    }

    public Long getManagePerId()
    {
        return managePerId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("perType", getPerType())
                .append("manageLicensePic", getManageLicensePic())
                .append("manageLicenseName", getManageLicenseName())
                .append("manageBusinessProject", getManageBusinessProject())
                .append("manageMapAddress", getManageMapAddress())
                .append("manageBusinessPic", getManageBusinessPic())
                .append("manageCoordinate", getManageCoordinate())
                .append("manageSituation", getManageSituation())
                .append("workUnit", getWorkUnit())
                .append("managePerId", getManagePerId())
                .append("creationTime", getCreationTime())
                .append("remark", getRemark())
                .toString();
    }
}
